import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;

public class Arq3 {

	public static void main(String[] args) {

		ArrayList<Conta> lista = new ArrayList<>();

		lista.add(new Conta("Mamae", 5000.00));
		lista.add(new Conta("Ricardo", 1200.00));
		lista.add(new Conta("Lawrence", 1244.44));
		lista.add(new Conta("Germano", 1800.00));
		lista.add(new Conta("Georgia", 1200.00));

		Conta conta = new Conta();
		conta.CriarArquivoEscrever(lista);

		System.out.println("$$$ lendo $$$");
		conta.LerArq();
	}
}
